package com.millstein.springcloud.alibaba.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.millstein.springcloud.entities.CommonResult;

public class CustomerBlockHandler {
    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(444, "自定义兜底类，global handlerException--------1");
    }
    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(444, "自定义兜底类，global handlerException--------2");
    }
}
